package com.online.studyonline.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.online.studyonline.pojo.Note;
import com.online.studyonline.pojo.ResultT;

import java.util.List;

/**
* @author urts
* @description 针对表【note】的数据库操作Service
* @createDate 2024-09-26 20:07:03
*/
public interface NoteService extends IService<Note> {

    ResultT<List<Note>> getNoteByUserId1(Integer id);

    ResultT<List<Note>> getNoteByUserId(Integer id);

    ResultT<String> addNote(String courseName, Integer userId, String noteText);

    ResultT<String> delNote(Integer noteId);

    List<Note> getAll();
}
